package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MessagePageDTO {

    @ApiModelProperty(value = "聊天会话ID", required = true)
    @NotNull(message = "缺少参数sessionId")
    private String sessionId;

    @ApiModelProperty(value = "每页数量", required = false)
    private Integer size;

    @ApiModelProperty(value = "指纹码", required = true)
    private String fp;

    @ApiModelProperty(value = "上下翻页", example = "up往前翻;down往后翻 pos定位前后5条记录")
    private String action;

}
